<template>
	<view class="my-page" v-html="content"></view>
</template>


<script>
	export default {
		data() {
			return {
				content: '',
			}
		},
		onLoad(options) {
			if (options.id) {
				// 详情
				this.get_content(options.id);
			}
		},
		methods: {
			get_content(id) {
				this.$http({
					url: this.api.recruit_banner,
					method: 'GET',
					data: {
						id
					}
				}).then(res => {
					if (res.code == 1) {
						uni.hideLoading();
						this.content = res.data.content
					}
				})
			},
		}
	}
</script>

<style scoped lang="scss">
	.desc {
		font-size: 28rpx;
		line-height: 2;
		text-indent: 2em;
		margin-bottom: 10px;
	}
</style>